/**
 * Bridge桥接设计模式将抽象部分与它的实现部分分离，使它们都可以独立地变化
 * @author MIAO
 * Created on 2011-10-8
 * For more information, please visit:ismiao.com
 */
package com.ismiao.designPattern.Bridge.firstHalf2009;

public class JavaMain {
	public static void main(String[] args){
		//在windows系统上查看demo.bmp图像文件
		Image image1 = new BMP();
		ImageImp imageImp1 = new WinImp();
		image1.setImp(imageImp1);//这里很重要哦！！！
		image1.parseFile("demo.bmp");
	}
}
